<template>
    <div class="home-view">
        <div class="top-header">
            <SearchBar />
            <UserBar />
        </div>
        <MessageBar />
        <div class="router-view-wrapper">
            <RouterView />
        </div>
    </div>
</template>

<script lang="ts" setup>
import SearchBar from '@/components/SearchBar.vue';
import UserBar from '@/components/UserBar.vue';
import MessageBar from '@/components/MessageBar.vue';
</script>

<style scoped>
.home-view {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.top-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.router-view-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    flex-grow: 1;
}
</style>
